<template>
<div>
    <h1 class="header"></h1>
    <!-- <p>{{person.name}}--{{person.age}}</p> -->
    <p>{{name}}---{{age}}</p>
    <Update />
</div>
  
</template>

<script>
export default {
    name:'Myheader',
    // props:['person'],
    props:['name','age'],
    data(){
        return {
            
        }
    }
}
</script>

<style>
.header{
    height: 300px;
    background-color: palegreen;
}
</style>